package com.motus.pm.vo;

import java.util.HashSet;
import java.util.Set;

import org.apache.struts2.json.annotations.JSON;

/**
 * MotusDept entity. @author MyEclipse Persistence Tools
 */

public class MotusDept implements java.io.Serializable {

	// Fields

	private Integer deptid;
	private String name;
	private Integer empNum;
	private Integer point;
	private String avapoint;
	private String reverse1;
	private String reverse2;
	private String reverse3;
	private String reverse4;
	private String reverse5;
	private Set pmPhaseInfos = new HashSet(0);
	private Set motusEmpInfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public MotusDept() {
	}

	/** minimal constructor */
	public MotusDept(Integer deptid, String name) {
		this.deptid = deptid;
		this.name = name;
	}

	/** full constructor */
	public MotusDept(Integer deptid, String name, Integer empNum, Integer point,
			String avapoint, String reverse1, String reverse2, String reverse3,
			String reverse4, String reverse5, Set pmPhaseInfos,
			Set motusEmpInfos) {
		this.deptid = deptid;
		this.name = name;
		this.empNum = empNum;
		this.point = point;
		this.avapoint = avapoint;
		this.reverse1 = reverse1;
		this.reverse2 = reverse2;
		this.reverse3 = reverse3;
		this.reverse4 = reverse4;
		this.reverse5 = reverse5;
		this.pmPhaseInfos = pmPhaseInfos;
		this.motusEmpInfos = motusEmpInfos;
	}

	// Property accessors

	public Integer getDeptid() {
		return this.deptid;
	}

	public void setDeptid(Integer deptid) {
		this.deptid = deptid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getEmpNum() {
		return this.empNum;
	}

	public void setEmpNum(Integer empNum) {
		this.empNum = empNum;
	}

	public Integer getPoint() {
		return this.point;
	}

	public void setPoint(Integer point) {
		this.point = point;
	}

	public String getAvapoint() {
		return this.avapoint;
	}

	public void setAvapoint(String avapoint) {
		this.avapoint = avapoint;
	}

	public String getReverse1() {
		return this.reverse1;
	}

	public void setReverse1(String reverse1) {
		this.reverse1 = reverse1;
	}

	public String getReverse2() {
		return this.reverse2;
	}

	public void setReverse2(String reverse2) {
		this.reverse2 = reverse2;
	}

	public String getReverse3() {
		return this.reverse3;
	}

	public void setReverse3(String reverse3) {
		this.reverse3 = reverse3;
	}

	public String getReverse4() {
		return this.reverse4;
	}

	public void setReverse4(String reverse4) {
		this.reverse4 = reverse4;
	}

	public String getReverse5() {
		return this.reverse5;
	}

	public void setReverse5(String reverse5) {
		this.reverse5 = reverse5;
	}
	@JSON(serialize=false)
	public Set getPmPhaseInfos() {
		return this.pmPhaseInfos;
	}

	public void setPmPhaseInfos(Set pmPhaseInfos) {
		this.pmPhaseInfos = pmPhaseInfos;
	}
	@JSON(serialize=false)
	public Set getMotusEmpInfos() {
		return this.motusEmpInfos;
	}

	public void setMotusEmpInfos(Set motusEmpInfos) {
		this.motusEmpInfos = motusEmpInfos;
	}

}